package cc.mrbird.febs.system.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 *
 *
 * @author dtwei
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TResidentHouse implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 居民ID
     */
    @TableField("RS_ID")
    private Long rsId;

    /**
     * 住宅ID
     */
    @TableField("HOUSE_ID")
    private Long houseId;

    /**
     * 住宅编码
     */
    @TableField("HOUSE_CODE")
    private String houseCode;

    /**
     * 与户主关系
     */
    @TableField("RELATION")
    private String relation;

    /**
     * 创建时间
     */

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 修改时间
     */

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @TableField("MODIFY_TIME")
    private Date modifyTime;

    @TableField("CREATE_USERNAME")
    private String createUsername;

    @TableField("CREATE_USER_ID")
    private Long createUserId;

    @TableField("MODIFY_USERNAME")
    private String modifyUsername;

    @TableField("MODIFY_USER_ID")
    private Long modifyUserId;


}
